package seven.rascontrol;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ListView;

public class ListAvaliadoActivity extends Activity implements OnClickListener {

	public Button but_avaliar;
	public ListView lista_avaliados;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.list_avaliado_layout);

		but_avaliar = (Button) findViewById(R.id.but_avaliar);
		but_avaliar.setOnClickListener(this);

		lista_avaliados = (ListView) findViewById(R.id.list_avaliados);

	}

	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.but_avaliar:
			Intent tela_avaliacao = new Intent(this, AvaliacaoActivity.class);
			startActivity(tela_avaliacao);
			break;

		default:
			break;
		}
	}

}
